var Mock = require('mockjs');

exports.response = function(req, res) {
	return Mock.mock({
		"msg": "OK",
    "code": 0,
    "data|5000": 
    	[{
    		"productId|+1":1,
        "fundManager":"@cname()",
        "productName":'@float(10, 100, 0, 2)',
        "fundCode":'@float(50, 100, 0, 2)',
        "investStrategy":'股票多头',
        "unitnav": '@float(60, 100, 0, 2)',
        "establishAge":0,
        "status":'已清盘',
        "fundScale":'中小型',
        "annualYieldRate":'@float(60, 100, 0, 2)',
        "alpha":'@float(60, 100, 0, 2)',
        "sharpeRatio":'@float(60, 100, 0, 2)',
        "treynorRatio":'@float(60, 100, 0, 2)',
        "informationRatio":'@float(60, 100, 0, 2)',
        "sortinoRatio":'@float(60, 100, 0, 2)',
        "m2":'@float(60, 100, 0, 2)',
        "calmarRatio":'@float(60, 100, 0, 2)',
        "var":'@float(60, 100, 0, 2)',
        "volatility":'@float(60, 100, 0, 2)',
        "cte":'@float(60, 100, 0, 2)',
        "te":'@float(60, 100, 0, 2)',
        "beta":'@float(60, 100, 0, 2)',
        "maxDrawdown":'@float(60, 100, 0, 2)',
      }],
	})
}
